package com.isunland.managesystem.entity;

import com.isunland.managesystem.ICheckable;
import com.isunland.managesystem.base.BaseModel;

/**
 * 对象功能:行政区划代码表 Model对象
 * 开发公司:isunland
 * 开发人员:scy
 * 创建时间:2014-03-11 13:27:24
 */
@SuppressWarnings("all") public class SysDistrict extends BaseModel implements ICheckable {
  // 主键
  protected String id;
  // 编码
  protected String districtCode;
  // 名称
  protected String districtName;
  // 上级编码
  protected String pdistrictCode;
  //查詢like用  有規律編碼
  protected String code;
  //查詢like用  有規律編碼
  protected String pcode;
  // 状态
  protected String districtStatus;
  // Order_No
  protected String orderNo;
  // Reg_Staff_Id
  protected String regStaffId;
  // Reg_Staff_Name
  protected String regStaffName;
  // Reg_date
  protected String regDate;
  // Remark
  protected String remark;
  //上级行政区划主键
  protected String pdistrictId;
  protected String memberCode;
  private boolean isCheck;

  public SysDistrict(String districtName, String code) {
    this.code = code;
    this.districtName = districtName;
  }

  public SysDistrict() {
  }

  /**
   * @return the code
   */
  public String getCode() {
    return code;
  }

  /**
   * @param code the code to set
   */
  public void setCode(String code) {
    this.code = code;
  }

  /**
   * @return the pcode
   */
  public String getPcode() {
    return pcode;
  }

  /**
   * @param pcode the pcode to set
   */
  public void setPcode(String pcode) {
    this.pcode = pcode;
  }

  /**
   * @return the memberCode
   */
  public String getMemberCode() {
    return memberCode;
  }

  /**
   * @param memberCode the memberCode to set
   */
  public void setMemberCode(String memberCode) {
    this.memberCode = memberCode;
  }

  public String getPdistrictId() {
    return pdistrictId;
  }

  public void setPdistrictId(String pdistrictId) {
    this.pdistrictId = pdistrictId;
  }

  /**
   * 返回 主键
   */
  public String getId() {
    return this.id;
  }

  public void setId(String id) {
    this.id = id;
  }

  /**
   * 返回 编码
   */
  public String getDistrictCode() {
    return this.districtCode;
  }

  public void setDistrictCode(String districtCode) {
    this.districtCode = districtCode;
  }

  /**
   * 返回 名称
   */
  public String getDistrictName() {
    return this.districtName;
  }

  public void setDistrictName(String districtName) {
    this.districtName = districtName;
  }

  /**
   * 返回 上级编码
   */
  public String getPdistrictCode() {
    return this.pdistrictCode;
  }

  public void setPdistrictCode(String pdistrictCode) {
    this.pdistrictCode = pdistrictCode;
  }

  /**
   * 返回 状态
   */
  public String getDistrictStatus() {
    return this.districtStatus;
  }

  public void setDistrictStatus(String districtStatus) {
    this.districtStatus = districtStatus;
  }

  /**
   * 返回 Reg_Staff_Id
   */
  public String getRegStaffId() {
    return this.regStaffId;
  }

  public void setRegStaffId(String regStaffId) {
    this.regStaffId = regStaffId;
  }

  /**
   * 返回 Reg_Staff_Name
   */
  public String getRegStaffName() {
    return this.regStaffName;
  }

  public void setRegStaffName(String regStaffName) {
    this.regStaffName = regStaffName;
  }

  /**
   * 返回 Remark
   */
  public String getRemark() {
    return this.remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }

  public String getRegDate() {
    return regDate;
  }

  public void setRegDate(String regDate) {
    this.regDate = regDate;
  }

  @Override public void setIChecked(boolean isCheck) {
    this.isCheck = isCheck;
  }

  @Override public boolean getIChecked() {
    return isCheck;
  }

  @Override public String toString() {
    return districtName;
  }
}